<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link href="https://cdn.bootcdn.net/ajax/libs/minireset.css/0.0.2/minireset.min.css" rel="stylesheet" />
    <link rel="stylesheet" href="1.css" />
    <title>学生和老师</title>
  </head>
  <body>
    <main>
      <label for="stu">学生</label>
      <input type="radio" name="role" id="stu" />
      <label for="teacher">老师</label>
      <input type="radio" name="role" id="teacher" />

      <div class="stu">学生姓名：<input type="text" /></div>
      <div class="teacher">老师姓名：<input type="text" /></div>
    </main>
  </body>
</html>
